package com.example.mybooksapp;

public class Book {
    private String bookId; // 书号
    private String bookName; // 书名
    private String userEmail; // 关联账号邮箱

    public Book(String bookId, String bookName, String userEmail) {
        this.bookId = bookId;
        this.bookName = bookName;
        this.userEmail = userEmail;
    }

    // Getter & Setter
    public String getBookId() {
        return bookId;
    }

    public void setBookId(String bookId) {
        this.bookId = bookId;
    }

    public String getBookName() {
        return bookName;
    }

    public void setBookName(String bookName) {
        this.bookName = bookName;
    }

    public String getUserEmail() {
        return userEmail;
    }

    public void setUserEmail(String userEmail) {
        this.userEmail = userEmail;
    }
}